/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.syfy.project.engine.testpackage;

import de.syfy.project.engine.Texture;
import de.syfy.project.engine.interfaces.Game;
import de.syfy.project.game.CharacterModel;
import java.awt.geom.Point2D;
import java.io.IOException;

/**
 *
 * @author felixspielmann
 */
public class CharModelTest {
    CharacterModel orc;
    public CharModelTest(Game game){
        try {
            orc = new CharacterModel(game);
            Texture[] textures=new Texture[1];
            textures[0]=game.getTextureLoader().getTexture("/Users/felixspielmann/NetBeansProjects/trunk/Sy-Fy-Project/Models/orc/Female/stehend/female_orc1.png");
            System.out.println(""+textures[0].getImageHeight()+" "+textures[0].getImageWidth());
            orc.setPosition(new Point2D.Float(100, 100));
            //orc.registerAnimation("stand", textures);
            orc.setNext();
            orc.playAnimation("stand");

            
        } catch (IOException ex) {
            System.out.println("error im CharModelTest");
        }
    }
    
    
}
